﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace bai01_Sharp
{
    class Rectangle
    {
        int x, y;
        public void setValues(int a, int b)
        {
            x = a;
            y = b;
        }
        public int area()
        {
            return(x*y);
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            Rectangle recta = new Rectangle();
            Rectangle rectb = new Rectangle();
            recta.setValues(3,4);
            rectb.setValues(5,6);
            Console.WriteLine("recta: " + recta.area());
            Console.WriteLine("rectb: "  + rectb.area());

        }
    }
}
